home *** CD-ROM | disk | FTP | other *** search
- Path: newsbf02.news.aol.com!not-for-mail
- From: warner000@aol.com (Warner000)
- Newsgroups: comp.lang.smalltalk,comp.lang.java,comp.lang.c++
- Subject: Re: Smalltalk slower than C++
- Date: 19 Apr 1996 11:51:41 -0400
- Organization: America Online, Inc. (1-800-827-6364)
- Sender: root@newsbf02.news.aol.com
- Message-ID: <4l8cqd$3eh@newsbf02.news.aol.com>
- References: <3177048B.2CBD@alumni.caltech.edu>
- Reply-To: warner000@aol.com (Warner000)
- NNTP-Posting-Host: newsbf02.mail.aol.com
-
- > > It is considered "common knowledge" that smalltalk is slower than C++.
- > > Are there any published articles on this subject?
- > > How much slower is slower, twice as slow, 5 times, 10 times... ?
- > > Appreciate any pointers on this subject.
- > >
- > I can say it is an over statement that smalltalk is slower than
- > C/C++. I have implementation that is a few times faster than
- > C. I can also illustrate that the smalltalk environment can be
- > ten and even 100 times faster than smalltalk.
-
- >Here's a simple sample task:
- >Open a scrolling list interface on integers from one to ten million.
- >
- >Smalltalk results:
- >
- > Coding time: 20 sec. (Yes I actually timed it).
- > Execution time: 64 millisecons (Sun Ultra-1, VW2.5)
- > Source code:
- >
- >SequenceView openOn: (1 to: 10000000).
- >
- >I look forward to hearing *any* results from the Java/C++ world.
- >
- >-- Mike Klein
- >mklein@alumni.caltech.edu
-
- Mike,
-
- Exactly so...
-
- There is slow in running and then there is slow in development. Maybe
- a C or C++ app runs a few milliseconds faster than a Smalltalk app but
- then compare the times for development and see how many times the
- C/C++ app has to run to make up for the time spent developing it vs.
- the Smalltalk app.
-
- Ken Warner
-